require ['knockout', 'adFloat','jquery','bootstrap'], (ko, adFloat, $) ->
  ko.components.register 'ad-float', adFloat
  class viewModel
    constructor: ->
  ko.applyBindings new viewModel()
  $ ->
    for i in $('.center_list td[time]')
      t = parseInt($(i).attr('time'))
      hour = parseInt(t/3600)
      min = parseInt((t-hour*3600)/60)
      sec = parseInt(t-hour*3600-min*60)
      $(i).html(hour+'时'+min+'分'+sec+'秒')